import React from 'react';
import { useParams } from 'react-router-dom';
import ArticleList from '../../components/ArticleList';

export default function Articles() {
  const { type } = useParams();

  return <ArticleList type={type} />;
}
